package demo2;

public class test {
    Animal animal = new Animal(10,);
    Dog dog = new Dog();
    animal = dog;
}
